var e = require;
var t = module;
cc.Class({
    extends: cc.Component,
    properties: {},
    onDestroy: function onDestroy() {
        "TT" == lplatform.channel && lplatform.hideBanner();
    },
    onEnable: function onEnable() {
        (this.node.scale = 0.001), cc.tween(this.node).to(0.5, {scale: 1}, {easing: "sineIn"}).start();
    },
    start: function start() {
        lplatform.labData.mainSwitch && lplatform.showInterstitial(), lplatform.showBanner();
    },
    onPopSthCloseClick: function onPopSthCloseClick() {
        (ui.popSth = null), this.node.destroy();
    },
    onPopSthJumpLvClick: function onPopSthJumpLvClick() {
        lplatform.showRewardedVideo(function (e) {
            e && ui.win();
        }),
            soundMgr.playSound(soundMgr.btn);
    }
});
